package dk.seqSite.utils {	/**	 * @author josef	 */	public class Escape {		public static function urlSegment(_sURLSegment : String) : String {						var sInput:String=decodeURI(_sURLSegment).split(" ").join("-").toLowerCase();			return sInput;//encodeURI(sInput);		}		public static function fullURLPath(sPath : String) : String {						if (!sPath) {				return "";			}						if (sPath.indexOf("/")==-1) {				return sPath;			}						var a_sSegments : Array = sPath.split("/");			var sReturn : String = "/";			for each (var sSegemts : String in a_sSegments) {				if (sSegemts!="") {					sReturn+=urlSegment(sSegemts)+"/";				}			}			return sReturn;		}	}}